home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group96a.txt
/
000181_icon-group-sender _Fri Aug 9 13:38:25 1996.msg
< prev
next >
Wrap
Internet Message Format
|
1996-09-05
|
2KB
Received: by cheltenham.cs.arizona.edu; Mon, 12 Aug 1996 08:17:20 MST
Date: Fri, 9 Aug 1996 13:38:25 -0600 (CST)
From: Luis M Ibarra <mibarra@galois.dgaesc.unam.mx>
X-Sender: mibarra@laplace
To: "Chris D. Tenaglia" <cdt@post.its.mcw.edu>
Cc: icon-group@cs.arizona.edu
Subject: Re: CGI Tips
In-Reply-To: <Pine.ULT.3.90.960808145431.22371A-100000@post.its.mcw.edu>
Message-Id: <Pine.SOL.3.91.960809132522.18123D-100000@laplace>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Errors-To: icon-group-errors@cs.arizona.edu
Status: O
On Thu, 8 Aug 1996, Chris D. Tenaglia wrote:
> program, httphone. It takes a parameter like:
>
> httphone name=fred
>
> and returns HTML results to stdout. It also logs it's activity
> to a log file. It works interactively. I borrowed and modified
> some other form to send the query. Netscape shows it :
>
> http://www.mcw.edu/~cdt/cgi-bin/httphone?name=fred
>
> and returns one of those 404 messages about URL not found.
> The log file indicates no activity. Am I real close and just
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The program is not being run by the httpd server.
> need a tip? or do I need to dig into a good book or web site
> for the technical details. Thanx in advance!
This problem, is not related to icon directly.
Maybe, you can found more help on a WWW group.
In your shoes I would check for these problems:
Maybe you need to compile de icon program insted of translating
it. I mean, maybe the user id under which the httpd deamon is running
can't find or can't run the iconx binary.
Maybe the HTTPD server, doesn't want to run programs from
/~cdt/cgi-bin/, there a clause in the httpd config file, for
setting up, which dirs contains cgi programs.
Depending on the method that you are using in the html form, you
need to get the query string, not from the comand line
parameters (POST method), but from the enviroment variable
QUERY_STRING (GET method). [I'm not really sure about the way
that each method sends the query string, but is something like
what I've tell you].
Hope this helps.
Saludos!
--
Luis M. Ibarra <mibarra@galois.dgaesc.unam.mx>
UNAM, DGAE.